package com.lyf.scm.common.enums;

/**
 * description:
 *
 * @author: haodong
 * @data: 2020/10/29 14:34
 */
public enum PermissionCodeEnum {
    /**
     * 权限等级
     */
    SALES_PLAN_LEVEL("salesPlanLevel","权限等级"),
    /**
     * 权限区域
     */
    SALES_PLAN_AREA("salesPlanArea","权限区域"),
    /**
     * 权限渠道
     */
    SALES_PLAN_CHANNEL("salesPlanChannel","权限渠道"),
    /**
     * 权限区域
     */
    AREA("area","区域权限"),
    /**
     * 权限渠道
     */
    CHANNEL("channel","渠道权限");

    private String code;
    private String name;

    PermissionCodeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
